package com.elh.jvm.constantpool;

import com.elh.jvm.ClassReader;

public class ConstantLongInfo implements ConstantInfo {


    private long value;

    public ConstantLongInfo(ClassReader reader) {
        value = reader.next2U4ToLong(); //u4
    }

    @Override
    public String getValue() {
        return value + "";
    }

    @Override
    public String toString() {
        return "Long: " + value;
    }



}
